FROM openjdk:11
MAINTAINER hogwarts
ENV TZ "Asia/Shanghai"
ENV LANG C.UTF-8
VOLUME /tmp

# 配置Docker内容
WORKDIR /app
ADD *.jar .

# 对外开放9000端口
EXPOSE 9000

# 启动webservice 服务
CMD [ "java", "-cp", "./*", "com.test.ServerRun"]
